-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated database handling and html parsing and increased integration for plugins #8
Open
CreaoticX
wants to merge
140
commits into
sendtogeo:master
Choose a base branch
from
CreaoticX:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Update 3.6.0 -> 3.7.0
Reset $supportClass in adminmenu.ctp.php×2
…replace issue and validation bug fix
Merge cron's separate debug property with SP_DEBUG
Updated the getPageInfo function to utilize the PHPHtmlParser and added new filters to allow for customized page info
str_replace was throwing an error a number 1 set as the limit so a $limit variable was created and inserted
Fixed the URL removing the domain name. Added a boolean $internal variable to the link_info filters.
Fixed two more errors in formatting the link url
Eliminated duplicate home page issue for domain ending in / and changed the broken link checker to check the database before pinging the website.
Added update setting function to simplify updating settings without having to enter all the setting data.
Added maybe serialize functions to saving and getting settings functions
By adding the prefix ign_ to the category of a setting it will not be loaded as a constant
Updated the database calls to use the new MySQLi database handler and added filters and action hooks to the scoring functions
# Conflicts: # controllers/components/auditorcomponent.php # includes/sp-common.php # includes/sp-load.php # libs/seopanel.class.php # libs/spider.class.php # themes/classic/views/menu/adminmenu.ctp.php # themes/classic/views/menu/usermenu.ctp.php
Hi Team, Thanks a lot for these changes send by you. We will verify and will add it to seo panel repository and will update you. Thansk for the support |
Separated scoring functions into separate classes to allow for additional scoring factors to be added dynamically and factor weighting and settings to be editted by the user. TODO: Create score weight and setting editting pages Create domain scoring factors
Divided the total score by the total of all weights and multiplied by 10 to give a total score between -10 and 10
Reverted the classic theme to it's original form. Creating a new theme to make changes in instead
Added include to load the the default score classes
This makes them accessible by the Score Class children
A label is required to save a setting.
Scores can now be activated and deactivated
Active check was after default return and wasn't being called.
If runkit_constant_redefine function does not exist don't try to reset constants
Fixed bug causing updated score settings not to save properly
Added a score to handle the average page score for websites. TODO: Implement website scores
… dynamic scoring for projects The countScore and weightedScore functions can now be used for any score type. These are now used to calculate the score for projects as well.
Thanks again for the support by writing this much code. Can you please send the merge request to following develop branch of seo panel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This borrows heavily from Wordpress in order to increase the ability for plugins to integrate with SEO Panel. It does this primarily by adding the ability to incorporate action and filter hooks into the SEO Panel operations and by adding the ability save meta data associated with any data type, but specifically websites, projects, and reports.
Functions to simplify managing settings were also added. Settings can now include arrays and can be excluded from being made constants by adding the prefix 'ign_' to the category.
In the process of adding this functionality, an html parser and a MySQLI database handler were also added to simplify operations, increase readability, and increase security. A mysqli helper file was also added to maintain backwards compatibility until the existing code can be